﻿using System;
namespace Chenxin.Lib.Business.Entity
{
    /// <summary>
    /// 实体类ContractFinanceBillInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ContractFinanceBillInfo
    {
        public ContractFinanceBillInfo()
        { }
        #region Model
        private Guid _billid;
        private Guid _contractid;
        private Guid _contractcityid;
        private string _contractcity;
        private Guid _contractcompanyid;
        private string _contractcompany;
        private string _contractcode;
        private string _billcode;
        private int? _inorout;
        private string _fundname;
        private string _customername;
        private string _billunit;
        private decimal? _billmoney;
        private DateTime? _billdate;
        private int? _status;
        private string _billmemo;
        private string _unusedreason;
        private DateTime? _unuseddate;
        private Guid _unusedpersonid;
        private string _unusedperson;
        private Guid _billdepartid;
        private string _billdepartname;
        private Guid _billcompanyid;
        private string _billcompany;
        private Guid _billcityid;
        private string _billcity;
        private DateTime? _inputtime;
        private Guid _billoprempid;
        private string _billoprempname;
        private Guid _billoprdepartid;
        private string _billoprdepartname;
        private DateTime? _paydate;
        private decimal? _paymoney;
        private decimal? _remainmoney;
        private Guid _payoprempid;
        private string _payoprempname;
        private Guid _payoprempdepartid;
        private string _payoprempdepart;
        private string _invoicecode;
        private DateTime? _invoicedate;
        private string _invoicememo;
        private Guid _invoiceoprempid;
        private string _invoiceopremp;
        private DateTime? _invoiceoprdate;
        private bool _isfinish;
        private string _achievementdate;
        private DateTime? _lastcreatearchdate;
        private string _lastcreatearchemp;
        private int? _achievementyear;
        private int? _achievementmonth;
        private string _fundmanagetype;
        private Guid _orderplaceid;
        private string _orderplace;
        private Guid _billplaceid;
        private string _billplace;
        private Guid _payplaceid;
        private string _payplace;
        private bool _isrecheck;
        private string _paybanktype;
        private string _paybankname;
        private string _paybankno;
        /// <summary>
        /// 
        /// </summary>
        public Guid OrderPlaceId
        {
            set { _orderplaceid = value; }
            get { return _orderplaceid; }
        }
        public Guid BillId
        {
            set { _billid = value; }
            get { return _billid; }
        }
        /// <summary>
        /// 成交编号
        /// </summary>
        public Guid ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ContractCityId
        {
            set { _contractcityid = value; }
            get { return _contractcityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ContractCity
        {
            set { _contractcity = value; }
            get { return _contractcity; }
        }
        /// <summary>
        /// 合同归属公司
        /// </summary>
        public Guid ContractCompanyId
        {
            set { _contractcompanyid = value; }
            get { return _contractcompanyid; }
        }
        /// <summary>
        /// 合同归属公司
        /// </summary>
        public string ContractCompany
        {
            set { _contractcompany = value; }
            get { return _contractcompany; }
        }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractCode
        {
            set { _contractcode = value; }
            get { return _contractcode; }
        }
        /// <summary>
        /// 开单编号
        /// </summary>
        public string BillCode
        {
            set { _billcode = value; }
            get { return _billcode; }
        }
        /// <summary>
        /// 1:收款单;2:付款单
        /// </summary>
        public int? InOrOut
        {
            set { _inorout = value; }
            get { return _inorout; }
        }
        /// <summary>
        /// 开单款项名称
        /// </summary>
        public string FundName
        {
            set { _fundname = value; }
            get { return _fundname; }
        }
        /// <summary>
        /// 客户姓名
        /// </summary>
        public string CustomerName
        {
            set { _customername = value; }
            get { return _customername; }
        }
        /// <summary>
        /// 款项单位(RMB,USD)
        /// </summary>
        public string BillUnit
        {
            set { _billunit = value; }
            get { return _billunit; }
        }
        /// <summary>
        /// 开单金额
        /// </summary>
        public decimal? BillMoney
        {
            set { _billmoney = value; }
            get { return _billmoney; }
        }
        /// <summary>
        /// 开单日期
        /// </summary>
        public DateTime? BillDate
        {
            set { _billdate = value; }
            get { return _billdate; }
        }
        /// <summary>
        /// 收款状态：0:未付款;-1作废;1:已收款
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 开单备注
        /// </summary>
        public string BillMemo
        {
            set { _billmemo = value; }
            get { return _billmemo; }
        }
        /// <summary>
        /// 开单作废原因
        /// </summary>
        public string UnusedReason
        {
            set { _unusedreason = value; }
            get { return _unusedreason; }
        }
        /// <summary>
        /// 作废日期
        /// </summary>
        public DateTime? UnusedDate
        {
            set { _unuseddate = value; }
            get { return _unuseddate; }
        }
        /// <summary>
        /// 作废人
        /// </summary>
        public Guid UnusedPersonId
        {
            set { _unusedpersonid = value; }
            get { return _unusedpersonid; }
        }
        /// <summary>
        /// 作废人
        /// </summary>
        public string UnusedPerson
        {
            set { _unusedperson = value; }
            get { return _unusedperson; }
        }
        /// <summary>
        /// 收(付)款部门
        /// </summary>
        public Guid BillDepartId
        {
            set { _billdepartid = value; }
            get { return _billdepartid; }
        }
        /// <summary>
        /// 收(付)款部门
        /// </summary>
        public string BillDepartName
        {
            set { _billdepartname = value; }
            get { return _billdepartname; }
        }
        /// <summary>
        /// 收(付)款公司
        /// </summary>
        public Guid BillCompanyId
        {
            set { _billcompanyid = value; }
            get { return _billcompanyid; }
        }
        /// <summary>
        /// 收(付)款公司
        /// </summary>
        public string BillCompany
        {
            set { _billcompany = value; }
            get { return _billcompany; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid BillCityId
        {
            set { _billcityid = value; }
            get { return _billcityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BillCity
        {
            set { _billcity = value; }
            get { return _billcity; }
        }
        /// <summary>
        /// 登记时间
        /// </summary>
        public DateTime? InputTime
        {
            set { _inputtime = value; }
            get { return _inputtime; }
        }
        /// <summary>
        /// 开单人
        /// </summary>
        public Guid BillOprEmpId
        {
            set { _billoprempid = value; }
            get { return _billoprempid; }
        }
        /// <summary>
        /// 开单人
        /// </summary>
        public string BillOprEmpName
        {
            set { _billoprempname = value; }
            get { return _billoprempname; }
        }
        /// <summary>
        /// 开单部门
        /// </summary>
        public Guid BillOprDepartId
        {
            set { _billoprdepartid = value; }
            get { return _billoprdepartid; }
        }
        /// <summary>
        /// 开单部门
        /// </summary>
        public string BillOprDepartName
        {
            set { _billoprdepartname = value; }
            get { return _billoprdepartname; }
        }
        /// <summary>
        /// 收（付）日期
        /// </summary>
        public DateTime? PayDate
        {
            set { _paydate = value; }
            get { return _paydate; }
        }
        /// <summary>
        /// 已收(付)金额总计
        /// </summary>
        public decimal? PayMoney
        {
            set { _paymoney = value; }
            get { return _paymoney; }
        }
        /// <summary>
        /// 剩余金额
        /// </summary>
        public decimal? RemainMoney
        {
            set { _remainmoney = value; }
            get { return _remainmoney; }
        }
        /// <summary>
        /// 收款登记人
        /// </summary>
        public Guid PayOprEmpId
        {
            set { _payoprempid = value; }
            get { return _payoprempid; }
        }
        /// <summary>
        /// 收款登记人
        /// </summary>
        public string PayOprEmpName
        {
            set { _payoprempname = value; }
            get { return _payoprempname; }
        }
        /// <summary>
        /// 收款登记部门
        /// </summary>
        public Guid PayOprEmpDepartId
        {
            set { _payoprempdepartid = value; }
            get { return _payoprempdepartid; }
        }
        /// <summary>
        /// 收款登记部门
        /// </summary>
        public string PayOprEmpDepart
        {
            set { _payoprempdepart = value; }
            get { return _payoprempdepart; }
        }
        /// <summary>
        /// 发票号
        /// </summary>
        public string InvoiceCode
        {
            set { _invoicecode = value; }
            get { return _invoicecode; }
        }
        /// <summary>
        /// 发票日期
        /// </summary>
        public DateTime? InvoiceDate
        {
            set { _invoicedate = value; }
            get { return _invoicedate; }
        }
        /// <summary>
        /// 发票备注
        /// </summary>
        public string InvoiceMemo
        {
            set { _invoicememo = value; }
            get { return _invoicememo; }
        }
        /// <summary>
        /// 发票登记人
        /// </summary>
        public Guid InvoiceOprEmpId
        {
            set { _invoiceoprempid = value; }
            get { return _invoiceoprempid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InvoiceOprEmp
        {
            set { _invoiceopremp = value; }
            get { return _invoiceopremp; }
        }
        /// <summary>
        /// 发票登记时间
        /// </summary>
        public DateTime? InvoiceOprDate
        {
            set { _invoiceoprdate = value; }
            get { return _invoiceoprdate; }
        }
        /// <summary>
        /// 是否封帐
        /// </summary>
        public bool IsFinish
        {
            set { _isfinish = value; }
            get { return _isfinish; }
        }
        /// <summary>
        /// 实收归属时间(2010.5)
        /// </summary>
        public string AchievementDate
        {
            set { _achievementdate = value; }
            get { return _achievementdate; }
        }
        /// <summary>
        /// 最后实收封帐时间
        /// </summary>
        public DateTime? LastCreateArchDate
        {
            set { _lastcreatearchdate = value; }
            get { return _lastcreatearchdate; }
        }
        /// <summary>
        /// 最后实收封帐人
        /// </summary>
        public string LastCreateArchEmp
        {
            set { _lastcreatearchemp = value; }
            get { return _lastcreatearchemp; }
        }
        /// <summary>
        /// 实收归属年
        /// </summary>
        public int? AchievementYear
        {
            set { _achievementyear = value; }
            get { return _achievementyear; }
        }
        /// <summary>
        /// 实收归属月
        /// </summary>
        public int? AchievementMonth
        {
            set { _achievementmonth = value; }
            get { return _achievementmonth; }
        }
        /// <summary>
        /// 资金监管方式
        /// </summary>
        public string FundManageType
        {
            set { _fundmanagetype = value; }
            get { return _fundmanagetype; }
        }
        /// <summary>
        /// 签约地点(冗余，取自成交记录)
        /// </summary>
        public string OrderPlace
        {
            set { _orderplace = value; }
            get { return _orderplace; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid BillPlaceId
        {
            set { _billplaceid = value; }
            get { return _billplaceid; }
        }
        /// <summary>
        /// 开单地点
        /// </summary>
        public string BillPlace
        {
            set { _billplace = value; }
            get { return _billplace; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid PayPlaceId
        {
            set { _payplaceid = value; }
            get { return _payplaceid; }
        }
        /// <summary>
        /// 付款地点
        /// </summary>
        public string PayPlace
        {
            set { _payplace = value; }
            get { return _payplace; }
        }
        /// <summary>
        /// 是否复核
        /// </summary>
        public bool IsRecheck
        {
            set { _isrecheck = value; }
            get { return _isrecheck; }
        }
        /// <summary>
        /// 付款方式
        /// </summary>
        public string PayBankType
        {
            set { _paybanktype = value; }
            get { return _paybanktype; }
        }
        /// <summary>
        /// 划账银行
        /// </summary>
        public string PayBankName
        {
            set { _paybankname = value; }
            get { return _paybankname; }
        }
        /// <summary>
        /// 银行账号
        /// </summary>
        public string PayBankNo
        {
            set { _paybankno = value; }
            get { return _paybankno; }
        }
        #endregion Model

    }
}

